package com.yjz.zpay.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;


public class DBHelper extends SQLiteOpenHelper{
	public DBHelper(Context context) {  
        super(context, "diand_trade.db", null, 1);
    }

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL("CREATE TABLE IF NOT EXISTS payorder" +
				"(_id INTEGER PRIMARY KEY AUTOINCREMENT, money varchar, tradeno varchar, result varchar, payuser varchar)");
	}
 
	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
	}
}
